//
//  Define.swift
//  iPlayer
//
//  Created by jackcheng on 2017/11/9.
//  Copyright © 2017年 xiangyue. All rights reserved.
//

import UIKit

let kIsIphoneX:Bool = UIScreen.main.bounds.size.height == 812

func navBarH() -> Double {
	if kIsIphoneX {
		return 88.0
	}
	return 64.0
}

let kNavBarH:Double = navBarH()

func footGap() -> Double {
	if kIsIphoneX {
		return 34.0
	}
	return 0.0
}

let kFootGap:Double = footGap()

//func screenHeight() -> Float {
//	let sH = UIScreen.main.bounds.size.height
//	let sW = UIScreen.main.bounds.size.width
//	return sH
//}

let kScreenH:Double = Double(UIScreen.main.bounds.size.height)

let kScreenW:Double = Double(UIScreen.main.bounds.size.width)





